class Flask:
    def __init__(self):
        self.routes = []

    def run(self):
        print(self.routes)

    def route(self, path):
        def decorator(f):
            self.routes.append((path, f))

            def g(*args, **kwargs):
                return f(*args, **kwargs)

            return g

        return decorator
